Microsoft Cognitive Language Service - Text Analysis (preview:2022-03-01)

2025/07/24 • 4 deleted methods

AnalyzeText (removed)
Description Submit a collection of text documents for analysis. Specify a single unique task to be executed immediately.
Reference Link ¶

⚼ Request

POST:  /:analyze-text
{
api-version: string ,
showStats: boolean ,
body:
{
kind: enum ,
}
,
}

⚐ Response (200)

{
kind: enum ,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
message: string ,
details: object ,
target: string ,
innererror: string ,
}
,
}
,
}
AnalyzeText_SubmitJob (removed)
Description Submit a collection of text documents for analysis. Specify one or more unique tasks to be executed as a long-running operation.
Reference Link ¶

⚼ Request

POST:  /analyze-text/jobs
{
api-version: string ,
body:
{
displayName: string ,
analysisInput:
{
documents:
[
{
id: string ,
text: string ,
language: string ,
}
,
]
,
}
,
tasks:
[
{
kind: enum ,
}
,
]
,
}
,
}

⚐ Response (202)

{
operation-location: string ,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
message: string ,
details: object ,
target: string ,
innererror: string ,
}
,
}
,
}
AnalyzeText_JobStatus (removed)
Description Get the status of an analysis job. A job may consist of one or more tasks. Once all tasks are succeeded, the job will transition to the succeeded state and results will be available for each task.
Reference Link ¶

⚼ Request

GET:  /analyze-text/jobs/{jobId}
{
api-version: string ,
jobId: string ,
showStats: boolean ,
top: integer ,
skip: integer ,
}

⚐ Response (200)

{
$schema: string ,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
message: string ,
details: object ,
target: string ,
innererror: string ,
}
,
}
,
}
AnalyzeText_CancelJob (removed)
Description Cancel a long-running Text Analysis job.
Reference Link ¶

⚼ Request

POST:  /analyze-text/jobs/{jobId}:cancel
{
jobId: string ,
}

⚐ Response (202)

{
operation-location: string ,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
message: string ,
details: object ,
target: string ,
innererror: string ,
}
,
}
,
}